let outinfos = {
    "code": 2000,
    "message": "成功",
    "data": {
        topMenus: [
            {
                id: '0',
                name: "/elcwork",
                icon: "el-icon-user-solid",
                alias: "控制台",
            },
            {
                name: "/elcwork/syscms",
                icon: "el-icon-chat-dot-round",
                alias: "通知",
            },
            {
                name: "/elcwork/prodms",
                icon: "el-icon-coin",
                alias: "产品库",
            },
            {
                name: "/elcwork/docms",
                icon: "el-icon-files",
                alias: "文档库",
            },
            {
                name: "/elcwork/pmcms",
                icon: "el-icon-coin",
                alias: "项目",
            },
        ],
        ShortcutBar: [
            {
                name: "",
                id: 0,
                icon: "el-icon-user-solid",
                alias: "上传需求",
                pars: {
                    a: 1,
                },
            },
        ],
        topMenusActive: "/elcwork",
    }
}

let asideMainMenus = {
    "code": 2000,
    "message": "成功",
    "data": [
        {
            id: 0,
            name: "/ElckerApp/ce",
            icon: "el-icon-message",
            alias: "一级菜单",
            menuPath: "测试-测试-测试",
        },
        {
            id: 1,
            name: "systemManage",
            icon: "el-icon-message",
            alias: "两级菜单",
            //二级
            children: [
                {
                    id: 3,
                    name: "authManage",
                    icon: "el-icon-loading",
                    alias: "权限管理",
                },
            ],
        },
        {
            //一级
            id: 6,
            name: "userManage",
            icon: "el-icon-news",
            alias: "三级菜单",
            //二级
            children: [
                {
                    id: 7,
                    name: "accountManage",
                    icon: "el-icon-phone-outline\r\n",
                    alias: "帐号管理",
                    //三级
                    children: [
                        {
                            id: 14,
                            name: "emailManage",
                            icon: "el-icon-sold-out\r\n",
                            alias: "邮箱管理",
                        },
                        {
                            id: 13,
                            name: "passManage",
                            icon: "el-icon-service\r\n",
                            alias: "密码管理",
                        },
                    ],
                },
                {
                    id: 8,
                    name: "integralManage",
                    icon: "el-icon-picture",
                    alias: "积分管理",
                },
            ],
        },
    ]
}

export default {
    'get|/elckerApi/menusService/getElckerUserMenus': (option) => {
        // 可以在这个地方对demoList2进行一系列操作，例如增删改
        // option 指向本次请求的 Ajax 选项集，含有 url、type 和 body 三个属性
        return outinfos;
    },
    'get|/elckerApi/menusService/getElckerUserMenuDatas': (option) => {
        // 可以在这个地方对demoList2进行一系列操作，例如增删改
        // option 指向本次请求的 Ajax 选项集，含有 url、type 和 body 三个属性
        return asideMainMenus;
    },
}